package Others.DesignPattern.VisitorPattern.Pattern.human;

import Others.DesignPattern.VisitorPattern.Pattern.status.Action;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public abstract class people {

     //protected这个修饰符还是使用在本包中比较保险--其他包的子类就会在一定功能上受限了
//     protected abstract void accept(Action action);

     public abstract void accept(Action action);

}
